package cn.edu.hust.cm.glideimagedemo;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }

    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.btn_one_image:
                OneImageActivity.start(this);
                break;

            case R.id.btn_image_grid:
                ImageGridActivity.start(this);
                break;
        }
    }
}
